<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<s:head/>
<link type="text/css" href="resources/xframe/security/login-input.css" rel="stylesheet" />
<script type="text/javascript" src="resources/js/jquery/plugins/easy_validator.pack.js"></script>
<script type="text/javascript" src="resources/xframe/security/md5-min.js"></script>
<script type="text/javascript">
jQuery(function($){
	$("#login-form").submit(function(){
		if(!WEB.Form.validator(this)) return false;
		// this.password.value = hex_md5(this.password.value).toUpperCase(); // Encrypt the plaintext(password).
		return true;
	});
});
</script>
</head>
<body scroll="no">
	<div align="center"><div align="left" style="width: 406px;">
	<form id="login-form" action="xframe/security/doLogin.action" method="post">
		<fieldset>
			<legend>Log in</legend>
			<label for="loginId">LoginId</label> 
			<input type="text" id="loginId" name="user.loginId" reg="^\w+$" tip="用户名。" />
			<div class="clear"></div>
			<label for="password">Password</label> 
			<input type="password" id="password" name="user.password" reg="^[\S\s]+$" tip="密码。" />
			<div class="clear"></div>
			<label for="remember_me" style="padding: 0;">Remember me?</label> 
			<input type="checkbox" class="checkbox" id="remember_me" style="position: relative; top: 3px; margin: 0; width:20px; " name="remember_me" />
			<div class="clear"></div>
			<br /> 
			<input type="submit" style="margin: -20px 0 0 287px;" class="button" value="Log in" />
		</fieldset>
	</form>
	<p align="center">
		<strong>&copy; ct.wen.cn</strong>
	</p>
	<s:if test="null != feedback"><div class="alert-error">错误信息：${feedback }</div></s:if> 
	</div></div>
</body>
</html>